package cn.topcodes.tcsf.app.domain.api;

import cn.topcodes.tcsf.app.domain.form.AppClientInfo;
import lombok.Data;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * Created by Unicorn on 2017/7/26.
 */
@Data
public class ReqThirdPartyLogin implements Serializable {

    @NotBlank(message = "thirdPartyApp不能为空")
    private String thirdPartyApp;

    @NotBlank(message = "code不能为空")
    private String code;

    @NotNull(message = "app客户端信息不能为空")
    private AppClientInfo appClient;
}
